package com.demo.controller.web;

import com.demo.service.ITestService;
import lombok.Getter;
import org.miniframework.core.annotation.Controller;
import org.miniframework.inject.annotation.Autowired;

@Controller
@Getter
public class TestController {

//    @Autowired("TestServiceImpl2")
    private ITestService testService;

    public String test(){
        System.out.println("TestController -> test方法，我执行了");
        return "ok";
    }
}
